.call-interface {
  opacity: 0;
  pointer-events: none;
  transition: 500ms;
}
.call-interface.active {
  opacity: 1;
  pointer-events: all;
}
.incomingCall {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: 500ms;
}
.incomingCall.active {
  display: block;
  opacity: 1;
  pointer-events: all;
}
#ClickArea .call-interface .card {
  position: absolute;
  overflow: hidden;
  width: 250px;
  height: 330px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -75%);
  border-radius: 15px;
  background-color: #2f323a;
}

.call-interface .header {
  position: relative;
  width: 100%;
  height: 70%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: transparent;
}

.call-interface .animation {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  border-radius: 50%;
  background-color: #22242a;
}

.call-interface .ring {
  box-shadow: none;

  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../svg/greenCallBtn.png");
}

.call-interface .ringing {
  -webkit-animation: ring 0.6s infinite;
  -o-animation: ring 0.6s infinite;
  animation: ring 0.6s infinite;
}

@keyframes ring {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-20deg);
  }
  21% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(-20deg);
  }
  41% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(-20deg);
  }
  80% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.call-interface .cercle {
  position: absolute;
  width: 130px;
  height: 130px;
  transform: translate(-25px, -25px);
  border-radius: 50%;
  border: 10px solid #22242a;
  background-color: transparent;
  -webkit-animation: wave 1.4s infinite linear;
  -o-animation: wave 1.4s infinite linear;
  animation: wave 1.4s infinite linear;
}

.call-interface .two {
  animation-delay: 0.35s;
  opacity: 0;
}

.call-interface .three {
  animation-delay: 0.7s;
  opacity: 0;
}

@keyframes wave {
  0% {
    width: 130px;
    height: 130px;
    transform: translate(-25px, -25px);
    opacity: 1;
    border-width: 8px;
  }
  100% {
    width: 320px;
    height: 320px;
    transform: translate(-120px, -120px);
    opacity: 0.2;
    border-width: 15px;
  }
}

.call-interface .phoneNumber {
  width: 100%;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 30px;
  text-align: center;
  transform: translateY(150px);
  color: #fff;
}

.call-interface .calling {
  width: 100%;
  font-family: "Hind", sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  transform: translateY(150px);
  color: #fff;
  -webkit-animation: opacity 2.5s infinite linear;
  -o-animation: opacity 2.5s infinite linear;
  animation: opacity 2.5s infinite linear;
}

@keyframes opacity {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

.call-interface .phone-footer {
  position: relative;
  width: 100%;
  height: 30%;
  border-top: 1px solid #24262c;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: #282b32;
}

.call-interface .bouton {
  position: absolute;
  display: inline-block;
  width: 100px;
  height: 40px;
  top: 50%;
  cursor: pointer;
  border-radius: 40px;
  transform: translateY(-50%);
}

.call-interface .raccrocher {
  left: 7%;
  transition: all 0.3s;
  background-color: #e72e04;
}

.call-interface .decrocher {
  right: 7%;
  transition: all 0.3s;
  background-color: #1ace7a;
}

.call-interface .red {
  display: block;
  position: absolute;
  width: 100px;
  height: 40px;
  background-image: url("../svg/redPhoneBtn.png");
}

.call-interface .green {
  display: block;
  position: absolute;
  width: 100px;
  height: 40px;
  background-image: url("../svg/greenPhoneBtn.png");
}

.call-interface .credit {
  position: absolute;
  display: block;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Open Sans Condensed", sans-serif;
  color: #fff;
  opacity: 0.4;
}

.call-interface a {
  text-decoration: none;
  color: #fff;
}
